<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--suppress ALL-->
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <base th:href="@{/}"><!-- 不用base就使用th:src="@{/js/jquery.min.js} -->
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>天天生鲜-用户中心</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css">
    <link rel="stylesheet" type="text/css" href="css/main.css">
    <style type="text/css">
        table
        {
            border-collapse: collapse;
            margin: 0 auto;
            text-align: center;
        }
        table td, table th
        {
            border: 1px solid #cad9ea;
            color: #666;
            height: 38px;
        }
        table thead th
        {
            background-color: #CCE8EB;
            width: 100px;
        }
        table tr:nth-child(odd)
        {
            background: #fff;
        }
        table tr:nth-child(even)
        {
            background: #F5FAFA;
        }
    </style>
</head>
<body>
<div class="header_con">
    <div class="header">
        <div class="welcome fl">欢迎来到天天生鲜!</div>
        <div class="fr">
            <div class="login_info fl">
                欢迎您：<em>张 山</em>
            </div>
            <!--            <div class="login_btn fl">-->
            <!--                <a href="../../page/login.html">登录</a>-->
            <!--                <span>|</span>-->
            <!--                <a href="../../page/register.html">注册</a>-->
            <!--            </div>-->
            <!--            <div class="user_link fl">-->
            <!--                <span>|</span>-->
            <!--                <a href="../user/user_center_info.html">用户中心</a>-->
            <!--                <span>|</span>-->
            <!--                <a href="../user/cart.html">我的购物车</a>-->
            <!--                <span>|</span>-->
            <!--                <a href="../user/user_center_order.html">我的订单</a>-->
            <!--            </div>-->
        </div>
    </div>
</div>

<div class="search_bar clearfix">
    <a href="../../page/index.html" class="logo fl"><img src="images/logo.png"></a>
    <div class="sub_page_name fl">|&nbsp;&nbsp;&nbsp;&nbsp;商家中心</div>
    <div class="search_con fr">
        <input type="text" class="input_text fl" name="" placeholder="搜索商品">
        <input type="button" class="input_btn fr" name="" value="搜索">
    </div>
</div>

<div class="main_con clearfix">
    <div class="left_menu_con clearfix">
        <h3>商家中心</h3>
        <ul>
            <li><a href="/toSellerCenterInfo" class="active">· 店铺信息</a></li>
            <li><a href="/toGoodsInfo">· 商品信息</a></li>
            <li><a href="/seller/QueryOrder">· 订单信息</a></li>
            <li><a href="/seller/comments">· 评论</a></li>
        </ul>
    </div>
    <div style="width: 88%;height: 500px">
        <table width="75%" class="table">
            <caption style="margin-bottom: 20px">
                <h1 style="font-size: 25px">订单详情</h1>
            </caption>
            <thead>
            <tr>
                <th>购买者编号</th>
                <th>购买数量</th>
                <th>购买时间</th>
            </tr>
            </thead>
            <tr th:each="detail:${OrderDetails}">
                <td th:text="${detail.buyerId}"></td>
                <td th:text="${detail.num}"></td>
                <td th:text="${#dates.format(detail.time,'yyyy-MM-dd')}"></td>
            </tr>

        </table>

    </div>
</div>


<div class="footer">
    <div class="foot_link">
        <a href="#">关于我们</a>
        <span>|</span>
        <a href="#">联系我们</a>
        <span>|</span>
        <a href="#">招聘人才</a>
        <span>|</span>
        <a href="#">友情链接</a>
    </div>
    <p>CopyRight © 2016 北京天天生鲜信息技术有限公司 All Rights Reserved</p>
    <p>电话：010-****888    京ICP备*******8号</p>
</div>

</body>
</html>